package arquitetura.model;

import java.util.Collection;

import to.Cliente;
import exceptions.*;

public interface ModelCliente {	
	public void incluir(Cliente cliente) throws ConexaoException, ModelException;
	public void alterar(Cliente cliente)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public Cliente consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String[]> listarParaGrid(String parteDoNome) throws ConexaoException, ModelException;
	public boolean cpfJahCadastrado(Cliente cliente) throws ConexaoException, ModelException;
	public boolean emailJahCadastrado(Cliente cliente) throws ConexaoException, ModelException;
	public boolean podeExcluirCliente(int codigo) throws ConexaoException, ModelException;
}
